Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Customer group_id deprecation #933

Merged
merged 2 commits into from
Sep 25, 2019
Merged

Customer group_id deprecation #933

merged 2 commits into from
Sep 25, 2019

Conversation

akamuraasai
Copy link
Contributor

Description (*)

Added a deprecated anotation to the graphql schema and changed the model of the GraphQL to only return null value.

Fixed Issues (if relevant)

  1. [Customer] Deprecate group_id in Customer #910 [Customer] Deprecate group_id in Customer

…del of the GraphQL to only return null value.
@lenaorobei lenaorobei added the Event: mm19br Meet Magento Brazil 2019 label Sep 16, 2019
@@ -101,7 +101,8 @@ public function execute(CustomerInterface $customer): array
}
}
$customerData = array_merge($customerData, $customAttributes);

//Field is deprecated and should not be exposed on storefront.
$customerData['group_id'] = null;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, nice to know the correct file to change in cases like this.
Thank you, @lenaorobei.

@magento-engcom-team
Copy link
Contributor

Hi @lenaorobei, thank you for the review.
ENGCOM-5915 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

@akamuraasai thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@magento-engcom-team magento-engcom-team merged commit dbbcdb1 into magento:2.3-develop Sep 25, 2019
@ghost
Copy link

ghost commented Sep 25, 2019

Hi @akamuraasai, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants